home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / length < prev    next >
Text File  |  1994-04-25  |  360b  |  20 lines

  1. length:
  2.  
  3. Syntax:    length ( A )
  4.  
  5. Description:
  6.     
  7.     The length function returns the length of vector A. It is
  8.     equivalent to max (size (A)), when A is numeric.
  9.  
  10.     To summarize:
  11.  
  12.     NUMERIC: max (size (A))
  13.  
  14.     STRING:  number of characters in a scalar string. 
  15.                      max (size (A)) if a string matrix.
  16.  
  17.     LIST:      number of elements in list.
  18.  
  19. See Also: show, size
  20.